package com.lx.pc.mybatis.repository.paypass;

import java.math.BigInteger;

import org.springframework.data.mybatis.repository.annotation.Query;
import org.springframework.data.mybatis.repository.support.MybatisRepository;
import org.springframework.stereotype.Repository;

import com.lx.pc.domain.entity.paypass.PayPassEntity;


@Repository("payPassRepository")
public interface PayPassRepository extends MybatisRepository<PayPassEntity, BigInteger>{

	/**
	 * 根据用户id查询支付密码
	 * @param userId
	 * @return
	 */
	@Query("findByPayUserId")
	PayPassEntity findByPayUserId(String userId);

}
